<template lang="">
  <div>
    <el-form>
          <el-form-item>
            <el-select
             v-model="dataForm.pkInbox"
             @change="handleChange"
              >

              <el-option v-for="(item, index) in 工会List" 
                :key="index"
                :label='item.name'
                :value="item.pkInbox"
                >

              </el-option>
            </el-select>
        </el-form-item>
    </el-form>
  </div>
</template>


<preview
  v-if="previewVisible"
  :dialog-visible.synv="previewVisible">
  :工会List="工会List"
  :item="item"
</preview>

{
  0
}

methods: {
  handleChange(){
    工会List.forEach(){
      if(item.pkInbox == this.dataForm.pkInbox){
        this.dataForm.pkInbox = item.pkInbox;
      }
    }
  },
  queryALLlIST(){
    api.queryList().then(res=>{
      this.工会List  =  res.data

    })
  }
},